package com.cg.dto;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.sql.Blob;

@Data
public class AddInheritorDTO {
    @NotBlank(message = "传人名称不为空")
    @Size(max = 10,message = "名称最长不超过10个字符")
    private String inheritorName;

    private String picture;

    @Size(max = 100,message = "介绍最长不超过100个字符")
    private String intro;
}
